<?php echo $this->element('header_layout');?>
</head>
<body>
<div class="wrapper_top_1">
<div class="wrapper_bottom">
    <div class="dadn_container">
        <div class="header">
        	<div class="box_search">
				<div class="language">
					<form action="<?php echo $this->webroot;?>duans/search" method="post" target="_blank" id="search" name="frmsearch">
						<input class="txt_newsletter" type="text" id="query"  size="37" name="query" value="Từ khóa tìm kiếm" onclick="if (this.value == 'Từ khóa tìm kiếm') this.value = '';"/>
						<input class="btn_newsletter" type="submit" name="submit" value="Tìm kiếm" style="margin-top:2px;behavior: url(/images/iepngfix.htc);"/>
					</form>
				</div>
				<div class="search_av">
				</div>           
            </div>			
        	<a href="/"><embed wmode="transparent" width="984" height="90" src="<?php echo $this->webroot;?>app/webroot/swf/banner.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></a>            
			<?php echo $this->element('navigation');?>
            
        </div>
        <div class="crumb">
			<?php if(isset($breadcrum)){?>
        	<img alt="icon home" src="<?php echo $this->webroot;?>img/icon_home.gif" /> <a href="<?php echo $this->webroot;?>">Trang chủ</a> 
			<img src="<?php echo $this->webroot;?>img/icon_next.gif" alt="icon dadn"/> 
            <a <?php if($breadcrum['type'] == 1){?>href="<?php echo $this->webroot;?>project-vip.html"<?php }else if($breadcrum['type'] == 0){?>href="<?php echo $this->webroot;?>project-normal.html"<?php }?>><?php if($breadcrum['type'] == 1){?>Danh sách dự án nổi bật<?php } else if($breadcrum['type'] == 0){?>Danh sách dự án khác<?php } else if($breadcrum['type'] == 2) {?>Kết quả tìm kiếm<?php } else if($breadcrum['type'] == 3) {?>Đăng tin rao<?php } ?></a>
			<?php if($breadcrum['tieudeduan']!=''){?>
				<img src="<?php echo $this->webroot;?>img/icon_next.gif" alt="icon dadn" /> <a <?php if($breadcrum['idduan'] == '') {?> href='javascript:;'<?php }else{?>href="<?php echo $this->webroot;?>project-<?php echo $breadcrum['idduan'];?>/<?php echo str_replace(" ","-",$breadcrum['tieudeduan'])?>.html"<?php }?>><?php echo $breadcrum['tieudeduan'];?></a>                    
			<?php }?>
			<?php if($breadcrum['tieudetinrao']!=''){?>
				<img src="<?php echo $this->webroot;?>img/icon_next.gif" alt="icon dadn" /> <a href='javascript:;'><?php echo $breadcrum['tieudetinrao'];?></a>                    
			<?php }?>
			<?php }?>
		</div>
		<div class="introduction">
			<?php echo $content_for_layout;?>
		</div>
        <?php echo $this->element('footer_layout');?>
    </div>
</div>    

</div>

</body>

</html>

